package com.yangzihao.service;

import com.yangzihao.entity.NewsDetail;

import java.util.List;

/*新闻表的Service接口*/
public interface NewsDetailService {

    public void insertNewsDet(NewsDetail newsDetail);

    List<NewsDetail> findByCondition(NewsDetail newsDetail);

    NewsDetail findById(Integer id);

    void updateDetial(NewsDetail newsDetail);

    NewsDetail findByTitle(String title);
}
